package entity;


/**
 * Fruit entity. @author MyEclipse Persistence Tools
 */

public class Fruit implements java.io.Serializable {

	// Fields

	private int fid;
	private String fname;
	private int fprice;
//	private int pid;
	Product product;
	

	// Constructors

	public Product getProduct() {
		return product;
	}

	public void setProduct(Product product) {
		this.product = product;
	}

	/** default constructor */
	public Fruit() {
	}

	/** full constructor */
	// Property accessors

	public int getFid() {
		return this.fid;
	}

	public void setFid(int fid) {
		this.fid = fid;
	}

	public String getFname() {
		return this.fname;
	}

	public void setFname(String fname) {
		this.fname = fname;
	}

	public int getFprice() {
		return this.fprice;
	}

	public void setFprice(int fprice) {
		this.fprice = fprice;
	}

//	public int getPid() {
//		return this.pid;
//	}
//
//	public void setPid(int pid) {
//		this.pid = pid;
//	}

}